Zepto(function ($) {

    //头部切换按钮点击事件
    clickItem('.line-bottom',function () {
        $('.line-bottom').removeClass('active');
        $(this).addClass('active');
    });

    clickItem('.checkAnalysis',function () {
        alert('fkdsfa')
    });

    clickItem('.reExam',function () {
        alert('fkdsfa')
    });

    // //章节练习展开收起
    // clickItem('.section-title',function () {
    //     var that = $(this).parent().parent().parent();
    //     var isopen = that.hasClass('active-open');
    //     if (isopen){
    //         $('.error-list-view').removeClass('active-open');
    //         $('.section-content-list').addClass('hidden');
    //         $('.open-img').attr('src','../images/ErrorQuestionList/icon_shouqi.png');
    //         $('.line-shu').addClass('hidden');
    //     } else {
    //         $('.error-list-view').removeClass('active-open');
    //         $('.section-content-list').addClass('hidden');
    //         $('.open-img').attr('src','../images/ErrorQuestionList/icon_shouqi.png');
    //         $('.line-shu').addClass('hidden');
    //         that.addClass('active-open');
    //         $(this).parent().find('.section-content-list').removeClass('hidden');
    //         that.find('.open-img').attr('src','../images/ErrorQuestionList/icon_zhankai.png')
    //         that.find('.line-shu').removeClass('hidden');
    //     }
    // });
    //
    // clickItem('.open-img',function () {
    //     var that = $(this).parent().parent();
    //     var isopen = that.hasClass('active-open');
    //     if (isopen){
    //         $('.error-list-view').removeClass('active-open');
    //         $('.section-content-list').addClass('hidden');
    //         $('.open-img').attr('src','../images/ErrorQuestionList/icon_shouqi.png');
    //         $('.line-shu').addClass('hidden');
    //     } else {
    //         $('.error-list-view').removeClass('active-open');
    //         $('.section-content-list').addClass('hidden');
    //         $('.open-img').attr('src','../images/ErrorQuestionList/icon_shouqi.png');
    //         $('.line-shu').addClass('hidden');
    //         that.addClass('active-open');
    //         $(this).parent().parent().find('.section-content-list').removeClass('hidden');
    //         that.find('.open-img').attr('src','../images/ErrorQuestionList/icon_zhankai.png')
    //         that.find('.line-shu').removeClass('hidden');
    //     }
    // });

    $.init()
});